class CreatePropertyPatternPropertyValues < ActiveRecord::Migration
  def change
    create_table :property_pattern_property_values, :force => true do |t|
      t.references :property_pattern_property_attribute, :null => false
      t.string     :value, :null => true, :limit => 60
      t.references :metric
    end

    add_index :property_pattern_property_values, :property_pattern_property_attribute_id, :name => "property_pattern_attribute_id_index"
  end
end
